package com.hp.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * 科普资源类型
 * 
 * @author Administrator
 * 
 */
public class ResourcesType {

	private String id;//编号
	private String name;//名字
	private Set<ResourcesType> chidren=new HashSet<>();//二级列表
	private Date createtime=new Date();//创建时间
	private String parentid;//父类id
	private int sum;//类型下的详细数



	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set<ResourcesType> getChidren() {
		return chidren;
	}

	public void setChidren(Set<ResourcesType> chidren) {
		this.chidren = chidren;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}



	public String getParentid() {
		return parentid;
	}

	public void setParentid(String parentid) {
		this.parentid = parentid;
	}

	public int getSum() {
		return sum;
	}

	public void setSum(int sum) {
		this.sum = sum;
	}

}
